package com.example.backend.dto;

import com.example.backend.domain.enums.NotificationChannel;
import com.example.backend.domain.enums.NotificationPriority;
import com.example.backend.domain.enums.NotificationStatus;
import com.example.backend.domain.enums.NotificationType;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.time.Instant;
import java.util.Map;

/**
 * 更新通知请求DTO
 */
@Data
public class UpdateNotificationRequest {
    
    @Size(max = 100, message = "通知标题长度不能超过100个字符")
    private String title;
    
    @Size(max = 1000, message = "通知内容长度不能超过1000个字符")
    private String content;
    
    private NotificationType type;
    private NotificationChannel channel;
    private NotificationStatus status;
    private NotificationPriority priority;
    private String actionUrl;
    private Map<String, Object> metadata;
    private Instant scheduledAt;
}
